package cn.blue.base.mapper;
import cn.blue.base.query.BaseQuery;
import cn.blue.pet.domain.Product;

import java.util.List;
public interface BaseMapper<T> {
    void del(Long id);

    List<T> findAll();

    void add(T t);

    void update(T t);

    T findById(Long id);

    Integer queryByCount(BaseQuery query);

    List<T> queryByPage(BaseQuery query);

    void batchDel(List<Long> ids);

}
